#!/bin/sh

pkill -9 envset_proc

yes| cp instance/server/plugin_config.cfg.normal instance/server/plugin_config.cfg
yes| cp instance/server/connector_config.cfg.normal instance/server/connector_config.cfg
yes| rm instance/server/aspect_policy.cfg
yes| cp instance/node/term/plugin_config.cfg.normal instance/node/term/plugin_config.cfg
yes| cp instance/node/term/connector_config.cfg.normal instance/node/term/connector_config.cfg
yes| rm instance/node/term/aspect_policy.cfg

sleep 1

sh run_cube.sh exec_def/_login_server.def &
sleep 1
sh run_cube.sh exec_def/_login_term.def &
sleep 1
sh run_cube.sh exec_def/_login_user.def login.msg ctrl_exit.msg
